﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Protegidos/Administracao/GENTE_Adm.master" AutoEventWireup="true" CodeFile="wfBeneficiosCM.aspx.cs" Inherits="Protegidos_Administracao_Cadastros__wf_wfBeneficiosCM" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cphSubConteudo" Runat="Server">

<table width="99%" align="center">
    <tr>
        <td>
              
            <div class="Titulo01">Benefícios - Convênio Médico</div>
            <div class="Titulo02">Cadastros / Gerais / Contratos / Processos</div>

        </td>    
    </tr>
    <tr>
        <td>
            <table width="99%" align="right">
                <tr id="trMensagem" runat="server" visible="false">
                    <td valign="middle" style="background-color:#FFFFAA; height:25px; width:100%">
                        &nbsp;&nbsp;<asp:Label ID="lblResultado" runat="server" Text="" Font-Names="Verdana" Font-Size="9"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="subTitulo_pagina">Parâmetros</div>
                        <div class="espaco"></div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <table> 
                            <tr>
                                <td colspan="2"><span class="textoCZ_12BS">Data Configuração:</span></td>
                            </tr> 
                            <tr>
                                <td style="width: 220px"><span class="textoCZ_12B">Data Inicio:</span></td>
                                <td style="width: 220px"><span class="textoCZ_12B">Data Fim:</span></td>
                            </tr>
                            <tr>
                                <td>
                                    <telerik:RadDatePicker ID="txtDtInicio" runat="server" />
                                    <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator13" ControlToValidate="txtDtInicio"
                                        InitialValue="" ErrorMessage="*" ValidationGroup="1" />
                                </td>
                                <td>
                                    <asp:TextBox ID="txtDtFim" Text="" runat="server" Enabled="false"></asp:TextBox>
                                </td>
                            </tr>
                        </table>
                        
                        <br />
                        <table> 
                            <tr>
                                <td colspan="4"><span class="textoCZ_12BS">Protocolo de Recebimento:</span></td>
                            </tr>              
                            <tr>
                                <td style="width: 260px"><span class="textoCZ_12">Selecione o protocolo de recebimento:</span></td>
                                <td>
                                    <telerik:RadComboBox ID="rcbProtocolo" runat="server" Skin="Telerik" 
                                        Width="240px" EmptyMessage="Selecione" AllowCustomText="True">
                                        <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
                                    </telerik:RadComboBox>
                                    <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator1" ControlToValidate="rcbProtocolo"
                                            InitialValue="" ErrorMessage="*" ValidationGroup="1" />
                                </td>
                            </tr>
                        </table>
                        
                    </td>    
                </tr>
                <tr>
                    <td align="right">
                        <br /><br />
                        &nbsp;&nbsp;<asp:Button ID="btnSalvar" runat="server" Text="Salvar" Width="110px" onclick="btnSalvar_Click" />&nbsp;&nbsp;
                        <asp:Button ID="btnIncluir" runat="server" Text="Incluir" Width="110px" ValidationGroup="1" onclick="btnIncluir_Click" />&nbsp;&nbsp;
                        <asp:Button ID="btnLimpar" runat="server" Text="Limpar" Width="110px" onclick="btnLimpar_Click" />
                    </td>
                </tr>
            </table>
            
        </td>
    </tr>
    
    <tr>
        <td>
        
            <table width="99%" align="right">
                <tr>
                    <td>
                        <div class="subTitulo_pagina">Histórico de parâmetros</div>
                        <div class="espaco"></div>
                    </td>
                </tr>
                <tr>
                    <td>
                    
                        <telerik:RadGrid ID="RadGrid1" Width="100%" Skin="Telerik" 
                            runat="server" AllowPaging="True" AllowSorting="True"
                            GridLines="None" AutoGenerateColumns="false" PageSize="20" OnNeedDataSource="RadGrid1_NeedDataSource" OnItemCommand="RadGrid1_ItemCommand">
                            <MasterTableView GridLines="None" DataKeyNames="IdWfConfig">
                                <Columns>
                                    <telerik:GridBoundColumn UniqueName="IdWfConfig" HeaderText="Código" DataField="IdWfConfig" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left"></telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn UniqueName="DataInicio" HeaderText="Data Inicio" DataField="DataInicio" DataFormatString="{0:dd/MM/yyyy}" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left"></telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn UniqueName="DataFim" HeaderText="Data Fim" DataField="DataFim" DataFormatString="{0:dd/MM/yyyy}" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left"></telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn UniqueName="Status.Descricao" HeaderText="Status" DataField="Status.Descricao" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left"></telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn UniqueName="TxtExecutato" HeaderText="Executado" DataField="TxtExecutato" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left"></telerik:GridBoundColumn>
                                    <telerik:GridButtonColumn Text="Visualizar" CommandName="Visualizar"  UniqueName="SelectColumn" />
                                    <telerik:GridButtonColumn DataTextField="AcaoDesativar" CommandName="Desativar"  UniqueName="SelectColumn2" />
                                </Columns>
                            </MasterTableView>
                        </telerik:RadGrid>  
                    
                    </td>    
                </tr>
                
                <tr>
                    <td align="right">
                        <br /><a href="../acWorkflow.aspx">Voltar</a>
                    </td>
                </tr>
            </table>
            
        </td>
    </tr>
    
</table>

</asp:Content>

